package problems;

public class Euler001 extends AbstractEuler {

	@Override
	public Number calculate() {
		long total = 0;
		for (int i = 1; i < 1000; i++) {
			if (i%3 == 0 || i%5 == 0) total += i;
		}
		return total;
	}

	@Override
	protected Number getCorrectAnswer() {
		return new Long(233168);
	}

}
